82f946779284b708187e005885e3a3618890c259,simulation-api/src/main/java/eu/itesla_project/simulation/ImpactAnalysisTool.java,ImpactAnalysisTool,run,#CommandLine#,206

Before Change


        try (ComputationManager computationManager = new LocalComputationManager()) {

            ContingenciesProvider contingenciesProvider
                    = config.findFactoryImplClass(ContingenciesProviderFactory.class).newInstance().create();
            SimulatorFactory simulatorFactory = config.findFactoryImplClass(SimulatorFactory.class).newInstance();

            Importer importer = Importers.getImporter(caseFormat, computationManager);

After Change



        try (ComputationManager computationManager = new LocalComputationManager()) {

            ContingenciesProvider contingenciesProvider = defaultConfig.newFactoryImpl(ContingenciesProviderFactory.class).create();
            SimulatorFactory simulatorFactory = defaultConfig.newFactoryImpl(SimulatorFactory.class);

            Importer importer = Importers.getImporter(caseFormat, computationManager);